import { request } from '@umijs/max';

// 登录
export function UserLoginFnc(data: { username: string; password: string }) {
  return request('/login', {
    method: 'post',
    data: data,
  });
}
